﻿using System;
using System.Collections.Generic;
using System.Text;
using RelationDTO = KG.SystemService.RelationDTO;

namespace KG.ServiceLogic.Logic
{
    public class RelationLogic
    {
        private SystemService.RelationService _relationService;

        public RelationLogic(SystemService.RelationService relationService)
        {
            _relationService = relationService;
        }

        public RelationDTO.OutputId AddRelation(RelationDTO.InputAdd req)
        {
            return _relationService.AddRelation(req);
        }
        public RelationDTO.OutputId DeleteRelation(RelationDTO.InputDelete req)
        {
            return _relationService.DeleteRelation(req);
        }
        public RelationDTO.OutputId UpdateRelation(RelationDTO.InputUpdate req)
        {
            return _relationService.UpdateRelation(req);
        }
        public RelationDTO.OutputGet GetRelation(RelationDTO.InputGet req)
        {
            return _relationService.GetRelation(req);
        }
        public RelationDTO.OutputTypeLoad TypeLoad()
        {
            return _relationService.TypeLoad();
        }
        public RelationDTO.OutputLoad load(RelationDTO.InputLoad req)
        {
            return _relationService.Load(req);
        }
        public RelationDTO.OutputLoad complexLoad(RelationDTO.InputComplexLoad req)
        {
            return _relationService.complexLoad(req);
        }
    }
}
